



typedef enum : NSUInteger {
    /** 
     视频地址变更
     */
    TLPlayerStateChangedURL,
    
    /** 
     加载
     */
    TLPlayerStateLoading,
    
    /** 
     准备播放
     */
    TLPlayerStateReadyToPlay,
    
    /** 
     播放
     */
    TLPlayerStatePlaying,
    
    /** 
     暂停
     */
    TLPlayerStatePause,
    
    /** 
     停止所有操作 
     */
    TLPlayerStateStop,
    
    /** 
     播放完成
     */
    TLPlayerStatePlayFinished,
    
    /** 
     加载失败
     */
    TLPlayerStateFailed,
    
    /** 
     未知类型
     */
    TLPlayerStateUnknown,
    
} TLPlayerState;


#define DefaultWindow [UIApplication sharedApplication].keyWindow
#define WS(weakSelf)  __weak __typeof(&*self)weakSelf = self;
#define RandomColor [UIColor colorWithRed:(arc4random_uniform(256) / 255.0) green:(arc4random_uniform(256) / 255.0) blue:(arc4random_uniform(256) / 255.0) alpha:1.0]


#import "Masonry.h"
#import "TLAVPlayerItemVideoOutput.h"



